package sun.net.www.protocol.yml;

import java.io.IOException;
import java.net.URL;
import java.net.URLConnection;
import java.net.URLStreamHandler;

/**
 * "yml" protocol {@link URLStreamHandler} implementation.
 * <br> @author leo
 * <br> @date 2021/8/11
 * <br> @since 1.0.0
 */
public class Handler extends URLStreamHandler {
    @Override
    public URLConnection openConnection(URL u) throws IOException {
        return new YmlURLConnection(u);
    }
}
